package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Groups;

/**
 * @author lisj Apr 12, 2014 2:14:08 PM
 */
public interface GroupsService {

	public boolean saveGroups(Groups groups);

	public boolean deleteGroupsById(Integer id);

	public boolean deleteGroupsByIds(String[] groupIds);

	public boolean updateGroupsById(Groups groups);

	public Groups findGroupsById(Integer id);

	public List<Groups> findGroupsByOrganizationId(String organizationId);

	public PaginatedList<Groups> findMemberGroupsByCdts(
			Map<String, Object> map, int start, int limit);
}
